<script setup>
import Tabbar from "./components/Tabbar.vue";
import useTabbarStore from "./store/tabbarStore.js";
const store = useTabbarStore()
//store 是一个reactive对象 向下面直接解构就会失去响应式的能力
// const {isTabbarShow} = useTabbarStore()
</script>
<template>
  <div>
    <router-view></router-view>
  </div>
  <div>
    <tabbar v-show="store.isTabbarShow"></tabbar>
  </div>
</template>

